﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Threading.Tasks;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("Warehouse", "Warehouse", new string[] { "WAREHOUSEID" })]
    [KnownType(typeof(Warehouse))]
    public class Warehouse : MB.Orm.Common.BaseModel
    {
        private int _WAREHOUSEID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSEID", System.Data.DbType.Int32)]
        public int WAREHOUSEID
        {
            get { return _WAREHOUSEID; }
            set { _WAREHOUSEID = value; }
        }
        private string _WAREHOUSECODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSECODE", System.Data.DbType.String)]
        public string WAREHOUSECODE
        {
            get { return _WAREHOUSECODE; }
            set { _WAREHOUSECODE = value; }
        }
        private string _WAREHOUSENAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSENAME", System.Data.DbType.String)]
        public string WAREHOUSENAME
        {
            get { return _WAREHOUSENAME; }
            set { _WAREHOUSENAME = value; }
        }
        private int _SHOPID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("SHOPID", System.Data.DbType.Int32)]
        public int SHOPID
        {
            get { return _SHOPID; }
            set { _SHOPID = value; }
        }
        private string _SHOPNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("SHOPNAME", System.Data.DbType.String)]
        public string SHOPNAME
        {
            get { return _SHOPNAME; }
            set { _SHOPNAME = value; }
        }
    }
}
